#!/bin/bash



web(){
    mkdir -p /var/log/supervisor
    mkdir -p /app/logs/
#    python3 manage.py init_skywalking
    echo 'web gunicorn done'
    supervisord -n -c /app/supervisord_prd.conf
}
case "$1" in
web)
web
;;
default)
default
;;
config)
config
;;
*)
echo "Usage: $1 {web|default|config}"
;;
esac
echo "start running!"